package com.geyue.core.service;

import com.geyue.common.base.service.BaseService;
import com.geyue.core.model.Student;
import com.geyue.core.model.Vedio;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017/6/1.
 */
public interface VedioService extends BaseService<Vedio>{

    List<Vedio> queryAll();

    int addTotalById(int id);

    int decreaseTotalById(int vedioId);

    List<Student> getStudent(int id,int type);

    List<Vedio> getVedioByType(String type);

    List<Vedio> getTopList();

    List<Vedio> searchVedioByKeyword(String keyword);

}
